<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script src="${ctx}/static/ztree/jquery.ztree.core-3.1.min.js"
	type="text/javascript"></script>
<link rel="stylesheet"
	href="${ctx}/static/css/zTreeStyle/zTreeStyle.css">
<c:set var="ctx" value="${pageContext.request.contextPath}" />
<script type="text/javascript">
	var setting = {};
	var nodes;
	$(document).ready(function() {
		$.get("${ctx}/popMenu",function(data){
			nodes = data;
		}
		$.fn.zTree.init($("#treeDemo"), setting, nodes);
	});
</script>
<td width="10%" vAlign="top"
	style="background-color: #ffffff; width: 0%;">
	<table style="background-color: #ffffff;" border="0" cellSpacing="0"
		cellPadding="0">
		<tbody>
			<tr>
				<td vAlign="top" style="background-color: #ffffff; width: 1%;">
					<div class="zTreeDemoBackground left">
						<ul id="treeDemo" class="ztree"></ul>
					</div></td>
			</tr>
		</tbody>
	</table>
</td>